package com.scala.oop.triat

/**
 * Created by Administrator on 2018/1/29/029.
 */
trait logger{
  println("this is logger constructor")
}
trait Mylogger extends logger{
  println("this is Mylogger constructor")
}
class traitPerson extends logger with Mylogger{
  println("this is traitPerson constructor")
}
class Student extends traitPerson{
  println("this is Student constructor")
}

object Student{
  def main(args: Array[String]) {
    val s = new Student
  }
}